% -*-LaTeX-*-
% Converted automatically from troff to LaTeX by tr2tex on Tue Dec 18 11:07:39 1990
% tr2tex was written by Kamal Al-Yahya at Stanford University
% (Kamal%Hanauma@SU-SCORE.ARPA)


\documentstyle[troffman]{article}
\begin{document}
%
% input file: fbmask.1
%
\phead{FBMASK}{1}{25-Jun-90}

%.CM 3
\shead{NAME}
fbmask -- mask a rectangle in a grayscale file
\shead{SYNOPSIS}
\nofill
fbmask [ -$<$type$>$ ] x0 y0 x1 y1 value $<$ 8bit $>$ 8bit
\fill
\shead{DESCRIPTION}
\par
Paints the specified gray value
{\it val}
in a rectangle starting at
{\it x}
and
{\it y}
with the given 
{\it width}
and
{\it height.}
\par
\shead{EXAMPLE}
To put a 50 pixel wide black border around a 640 by 480 pixel grayscale
image, you could use the following pipeline (which outputs a Sun
rasterfile):
\par\vspace{1.0\baselineskip}
\nofill
    \% fbmask   0   0  50 480 0 $<$ foo.8bit $|$
      fbmask   0   0 640  50 0 $<$ foo.8bit $|$
      fbmask   0 430 640 480 0 $<$ foo.8bit $|$
      fbmask 590   0 640 480 0 $<$ foo.8bit $>$ bar.8bit
\fill
\par\vspace{1.0\baselineskip}
\shead{SEE ALSO}
fbm(1) for general discussion, pbm(1) for PBM routines.
\shead{BUGS}
None known.
\shead{HISTORY}
Copyright (C) 1989,1990 by Michael Mauldin.  Permission is granted
to use this file in whole or in part for any purpose, educational,
recreational or commercial, provided that this copyright notice
is retained unchanged.  This software is available to all free of
charge by anonymous FTP and in the UUNET archives.
\begin{TPlist}{25-Jun-90  Michael Mauldin at Carnegie Mellon University}
\item[{25-Jun-90  Michael Mauldin at Carnegie Mellon University}]
Release 1.0 mlm@cs.cmu.edu
\item[{07-Mar-89  Michael L. Mauldin at Carnegie Mellon University}]
Beta release (version 0.9) mlm@cs.cmu.edu
\end{TPlist}
\end{document}
